﻿using BCDto.OA.Workflow.WorkflowOperation;
using BCEntity.OA.Workflow.WorkflowActivityInstance;
using System;
using System.Collections.Generic;
using System.Text;

namespace BCService.OA.WorkflowEngine.WorkflowRunning
{
    /// <summary>
    /// 工作流运行
    /// </summary>
    public interface IWorkflowRunningService
    {
        /// <summary>
        /// 开始运行实例
        /// </summary>
        /// <param name="workflowActivityInstanceId">工作流活动实例Id</param>
        void StartRunning(long workflowActivityInstanceId);

        /// <summary>
        /// 任务执行
        /// </summary>
        /// <param name="workflowOperationRequestDto">工作流操作</param>
        void Execution(WorkflowOperationRequestDto workflowOperationRequestDto);
        /// <summary>
        /// 指派
        /// </summary>
        /// <param name="workflowActivityInstanceId">工作流活动实例Id</param>
        void Assigning(long workflowActivityInstanceId);
    }
}
